From da9b45be78efe6a66b469d72a838d2e5bed80307 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 17 Aug 2010 05:15:31 +0200 Subject: [PATCH] pixbuf-engine: remove unused theme_pixbuf_render_no_cairo() --- modules/engines/pixbuf/pixbuf-render.c | 25 ------------------------- modules/engines/pixbuf/pixbuf.h | 9 --------- 2 files changed, 34 deletions(-) diff --git a/modules/engines/pixbuf/pixbuf-render.c b/modules/engines/pixbuf/pixbuf-render.c index 30e3fadad1..6bb614884d 100644 --- a/modules/engines/pixbuf/pixbuf-render.c +++ b/modules/engines/pixbuf/pixbuf-render.c @@ -715,31 +715,6 @@ theme_pixbuf_get_pixbuf (ThemePixbuf *theme_pb) return theme_pb->pixbuf; } -void -theme_pixbuf_render_no_cairo (ThemePixbuf *theme_pb, - GdkWindow *window, - GdkRectangle *clip_rect, - guint component_mask, - gboolean center, - gint x, - gint y, - gint width, - gint height) -{ - cairo_t *cr; - - cr = gdk_cairo_create (window); - if (clip_rect) - { - gdk_cairo_rectangle (cr, clip_rect); - cairo_clip (cr); - } - - theme_pixbuf_render (theme_pb, cr, - component_mask, center, - x, y, width, height); -} - void theme_pixbuf_render (ThemePixbuf *theme_pb, cairo_t *cr, diff --git a/modules/engines/pixbuf/pixbuf.h b/modules/engines/pixbuf/pixbuf.h index 9c9c38c5d4..a9611705e0 100644 --- a/modules/engines/pixbuf/pixbuf.h +++ b/modules/engines/pixbuf/pixbuf.h @@ -200,15 +200,6 @@ G_GNUC_INTERNAL void theme_pixbuf_set_border (ThemePixbuf *theme_pb, gint bottom); G_GNUC_INTERNAL void theme_pixbuf_set_stretch (ThemePixbuf *theme_pb, gboolean stretch); -G_GNUC_INTERNAL void theme_pixbuf_render_no_cairo (ThemePixbuf *theme_pb, - GdkWindow *window, - GdkRectangle *clip_rect, - guint component_mask, - gboolean center, - gint dest_x, - gint dest_y, - gint dest_width, - gint dest_height); G_GNUC_INTERNAL void theme_pixbuf_render (ThemePixbuf *theme_pb, cairo_t *cr, guint component_mask, -- 2.30.2